package com.jixi.pojo.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "学校表")
@TableName("school")
public class School {

    @TableId(value = "school_id")
    @Schema(description = "学校id")
    private Long schoolId;

    @Schema(description = "学校名称")
    private String schoolName;

    @Schema(description = "账号")
    private String schoolUsername;

    @Schema(description = "密码")
    private String schoolPassword;

    @Schema(description = "学校地址")
    private String schoolAddress;

    @Schema(description = "负责人名称")
    private String principalName;

    @Schema(description = "负责人电话")
    private String principalPhone;

    @Schema(description = "学校邮箱")
    private String schoolMail;

    @Schema(description = "学校入账账户")
    private Long accountId;

    @Schema(description = "状态（0 禁用，1 启用）")
    private Integer status;

    @Schema(description = "是否删除（0未删除 1 删除）")
    private Integer isDeleted;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "创建时间")
    private Date createTime;


}

